package com.design.pattern.factory;

import com.design.pattern.templateMethod.ATemplateMethod;
import com.design.pattern.templateMethod.TemplateMethod;

public class AFactory<T>  extends AbstractSonFactory<T> {

    @Override
    protected TemplateMethod business(T parameter) {
        System.out.println("A工厂只生产产品A");
        return new ATemplateMethod();
    }
}
